package ClassWork.Work_03.Trim;

import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        TrimService trimService = new TrimService();
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入一个字符串： ");
        String str = sc.nextLine();
        String s = trimService.trim(str);
        System.out.println(s);
    }
}
